# John's version

print("Calculates kinetic energy of an object given mass and velocity")

mass = float(input("Mass (kg): "))
vel = float(input("Velocity (m/s): "))

# Recall that the ** operator is the power operator; the following is v squared
kineticEnergy = (1/2)*mass*vel**2

print("Your object has ", kineticEnergy, " joules of energy")
